package neuroPoker.training;

public abstract class Competer {

	public int played;

	public void compete(int anzSpiele) {
		double start = System.currentTimeMillis();
		for (; played < anzSpiele; played++) {
			if (played % 100 == 0) {
				System.out.println(played + " - "
						+ (System.currentTimeMillis() - start) / 1000 + "s");
				start = System.currentTimeMillis();
			}
			competeSpiel();
			statistik();
		}
		statistikAusgeben();
	}

	public abstract void competeSpiel();

	public abstract void statistik();

	public abstract void statistikAusgeben();

}
